package com.magic233.service;

import com.magic233.entity.Message;
import com.magic233.entity.Orders;
import com.magic233.entity.Users;

import java.util.List;
import java.util.Map;

/**
 * ClassName: MessageService
 * Description:
 * date: 2021/6/5 13:13
 * author: zouyuan
 */
public interface MessageService {
    int sendMessage(Long senderid, Long recipientid, String content);

    Map<Object, Object> selectMessage(Message message, Integer pageNum, Integer pageSize);

    int updateMessageStatus(Users user, Long id);

    //发送维修进度微信通知
    int sendWeixinMessage1(Users user1, Users users2, Orders order);

    //发送维修完成微信通知
    int sendWeixinMessage2(Users user1, Users users2, Orders order);
}
